package com.serverplic.media;

public class Picture
{
	private int id;
	private String name;
	private String title;
	private String description;
	private String imagePath;
	private Point point;
	
	public int getId()
	{
		return id;
	}
	
	public void setId(int _id)
	{
		id = _id;
	}
	
	public String getName()
	{
		return name;
	}
	
	public void setName(String _name)
	{
		name = _name;
	}
	
	public String getTitle()
	{
		return title;
	}
	
	public void setTitle(String _title)
	{
		title = _title;
	}
	
	public String getDescription()
	{
		return description;
	}
	
	public void setDescription(String _description)
	{
		description = _description;
	}
	
	public String getImagePath()
	{
		return imagePath;
	}
	
	public void setImagePath(String _imagePath)
	{
		imagePath = _imagePath;
	}
	
	public Point getPoint()
	{
		return point;
	}
	
	public void setPoint(Point _point)
	{
		point = _point;
	}
	
	@Override
	public String toString()
	{
		String txt = "Picture\n";
		txt += "ID : " + id + "\n";
		txt += "Name : " + name + "\n";
		txt += "Title : " + title + "\n";
		txt += "Description : " + description + "\n";
		txt += "Picture Path : " + imagePath + "\n";
		txt += "Parent Point name : " + point.getName() + "\n";
		return txt;
	}
}
